package com.cjm.one.model.system.vo;

import com.cjm.one.model.system.entity.SysDept;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;
@Data
public class SysDeptAllVo extends SysDept {
    @Schema(description = "id")
    private Long id;
    @Schema(description = "父级id")
    private Long parentId;
    /**
     * 部门名称
     */
    @Schema(description = "部门名称")
    private String name;

    /**
     * 显示顺序
     */
    @Schema(description = "显示顺序")
    private Long deptSort;
    /**
     * 部门状态（0、正常；1、停用）
     */
    @Schema(description = "部门状态（0、正常；1、停用）")
    private String deptStatus;

    private List<SysDeptAllVo> children;

}
